<link rel="stylesheet" type="text/css" href="../addons/jy_seckill/css/common.css">
<div class="fui-page seckill-page">
    <div class="fui-content navbar">
    </div>
</div>
<div class="fui-list-group time-group-{{time.id}}" style="margin-top:0px">
        <div class="fui-list-group-title">     
             <span ng-if="time.status==1" class="timer">
                  距开始 <span class="time-hour">-</span>:<span class="time-min">-</span>:<span class="time-sec">-</span>
             </span>
			<span ng-if="time.status>1" class="timer">
                  距结束 <span class="time-hour">-</span>:<span class="time-min">-</span>:<span class="time-sec">-</span>
             </span>
            <div ng-if="time.status==-1">还可以继续抢购哦~</div>
			<div ng-if="time.status==0">抢购中 先下单先得哦</div>
			<div ng-if="time.status==1">即将开始 先下单先得哦</div>
        </div>
        <div ng-repeat="g in pagedata.goods" class='fui-list align-start'>
            <div class='fui-list-media'>
               <a ng-click="access_json('jy_weishop/goods.detail//id='+g.goodsid)"><img src="tomedia({{g.thumb}})" /></a>
            </div>
            <div class='fui-list-inner'>
                <a class='text' ng-click="access_json('jy_weishop/goods.detail//id='+g.goodsid)">{{g.title}}</a>
                <div class="info">
                     <span class="button">
                         
                         <a ng-if="time.status==1" ng-click="access_json('jy_weishop/goods.detail//id='+g.goodsid)" class="btn btn-success btn-sm">等待抢购</a>
                                <a  ng-if="time.status!=1 && g.percent>=100" ng-click="access_json('jy_weishop/goods.detail//id='+g.goodsid)" class="btn btn-default btn-sm">已抢空</a>
                            
                         <a  ng-if="time.status!=1 && g.percent<100" ng-click="access_json('jy_weishop/goods.detail//id='+g.goodsid)" class="btn btn-danger btn-sm">去抢购</a>
                     </span>
                    <div class="price">&yen;{{g.price}}</div>
                </div>
                <div class="info info1">
                   
                      <span ng-if="time.status!=1" class="process">
                                <div class="inner" style="width:{{g.percent}}"></div>
                       </span>
                    <span ng-if="time.status!=1" class="process-text">已售 {{g.percent}}</span>
                    
                    <div class="price1">&yen;{{g.marketprice}}</div>
                </div>
            </div>
        </div>
        
 </div>
 <div ng-include="sys_html('common/pluginnav',true)"></div>